package com.example.springboot.Mapper;

import com.example.springboot.pojo.BookInfo;
import com.example.springboot.pojo.Stock;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface StockMapper {

    int addStock(Stock stock);

    List<Stock> getStock();

    int sumBook();
}
